home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11668 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: abacus.abasoft.co.uk!not-for-mail
  2. From: dmb@abacus.abasoft.co.uk (David Byrne)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Does gcc support template?
  5. Date: 14 Mar 1996 11:15:59 -0000
  6. Organization: Abacus Software Ltd.
  7. Message-ID: <4i8v5f$25f@abacus.abasoft.co.uk>
  8. References: <1182.6645T755T2154@panix.com>
  9. NNTP-Posting-Host: abacus.abasoft.co.uk
  10. X-NNTP-Posting-Host: abacus.demon.co.uk
  11.  
  12. In article <1182.6645T755T2154@panix.com>, Dae Choi <gugu@panix.com> wrote:
  13. >Hi everyone.  I've been desperately trying to compile the following program to
  14. >test template but the compiler would give error messages:
  15.  
  16. Compiles fine here:
  17.  
  18. dmb@abacus:51> g++ test4.cpp
  19. dmb@abacus:52> a.out
  20. Average of integer value is 3
  21. Average of floating value is 3.3
  22. dmb@abacus:53> gcc -v
  23. Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/specs
  24. gcc version 2.7.0
  25. dmb@abacus:54>
  26. -- 
  27. David Byrne, Abacus Software, London, UK              Tel: +44 (0)171 603 9877
  28. Email: dmb@abacus.demon.co.uk                         Fax: +44 (0)171 603 6844
  29. Here's a koan: If you have ice-cream I will give you some. If you have none,
  30.                I will take it away from you. (it's an ice-cream koan).
  31.